Set customer details
PATCH/baskets/:id/set-customer-details
Sets one or more customer detail fields on the basket.
Request
Path Parameters
The id of the basket
Header Parameters
The API key for the given store
- application/json
Body
required
- Array [
- ]
customerDetails object[]
Possible values: [Email, FirstName, LastName, PhoneNumber, BillingAddress]
The type of a customer detail field.
A value that corresponds to the data type expected by the customer detail field type. For example, an email address if the type is 'Email'.
Responses
- 204
- 400
This is an asynchronous operation. Upon completion, the basket must be refetched.
This is an asynchronous operation. Upon completion, the basket must be refetched.
- application/json
- Schema
- Example (from schema)
Schema
The type of the problem. See the documentation for each problem type to see what other properties (extensions) will be present on the problem details for that type.
The title of the problem
Further details on the problem that occurred
The http status code for the problem if it is the result of a HTTP request. If the result of an asynchronous operation, this will not be present.
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0
}